package com.lvmama.core.bean;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DestQuery {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer pageNo = 1;

    protected Integer startRow;

    protected Integer pageSize = 10;

    protected String fields;

    public DestQuery() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo=pageNo;
        this.startRow = (pageNo-1)*this.pageSize;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setStartRow(Integer startRow) {
        this.startRow=startRow;
    }

    public Integer getStartRow() {
        return startRow;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize=pageSize;
        this.startRow = (pageNo-1)*this.pageSize;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setFields(String fields) {
        this.fields=fields;
    }

    public String getFields() {
        return fields;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andDestIdIsNull() {
            addCriterion("dest_id is null");
            return (Criteria) this;
        }

        public Criteria andDestIdIsNotNull() {
            addCriterion("dest_id is not null");
            return (Criteria) this;
        }

        public Criteria andDestIdEqualTo(Integer value) {
            addCriterion("dest_id =", value, "destId");
            return (Criteria) this;
        }

        public Criteria andDestIdNotEqualTo(Integer value) {
            addCriterion("dest_id <>", value, "destId");
            return (Criteria) this;
        }

        public Criteria andDestIdGreaterThan(Integer value) {
            addCriterion("dest_id >", value, "destId");
            return (Criteria) this;
        }

        public Criteria andDestIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("dest_id >=", value, "destId");
            return (Criteria) this;
        }

        public Criteria andDestIdLessThan(Integer value) {
            addCriterion("dest_id <", value, "destId");
            return (Criteria) this;
        }

        public Criteria andDestIdLessThanOrEqualTo(Integer value) {
            addCriterion("dest_id <=", value, "destId");
            return (Criteria) this;
        }

        public Criteria andDestIdIn(List<Integer> values) {
            addCriterion("dest_id in", values, "destId");
            return (Criteria) this;
        }

        public Criteria andDestIdNotIn(List<Integer> values) {
            addCriterion("dest_id not in", values, "destId");
            return (Criteria) this;
        }

        public Criteria andDestIdBetween(Integer value1, Integer value2) {
            addCriterion("dest_id between", value1, value2, "destId");
            return (Criteria) this;
        }

        public Criteria andDestIdNotBetween(Integer value1, Integer value2) {
            addCriterion("dest_id not between", value1, value2, "destId");
            return (Criteria) this;
        }

        public Criteria andParentIdIsNull() {
            addCriterion("parent_id is null");
            return (Criteria) this;
        }

        public Criteria andParentIdIsNotNull() {
            addCriterion("parent_id is not null");
            return (Criteria) this;
        }

        public Criteria andParentIdEqualTo(Integer value) {
            addCriterion("parent_id =", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotEqualTo(Integer value) {
            addCriterion("parent_id <>", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdGreaterThan(Integer value) {
            addCriterion("parent_id >", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("parent_id >=", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdLessThan(Integer value) {
            addCriterion("parent_id <", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdLessThanOrEqualTo(Integer value) {
            addCriterion("parent_id <=", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdIn(List<Integer> values) {
            addCriterion("parent_id in", values, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotIn(List<Integer> values) {
            addCriterion("parent_id not in", values, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdBetween(Integer value1, Integer value2) {
            addCriterion("parent_id between", value1, value2, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotBetween(Integer value1, Integer value2) {
            addCriterion("parent_id not between", value1, value2, "parentId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdIsNull() {
            addCriterion("district_id is null");
            return (Criteria) this;
        }

        public Criteria andDistrictIdIsNotNull() {
            addCriterion("district_id is not null");
            return (Criteria) this;
        }

        public Criteria andDistrictIdEqualTo(Integer value) {
            addCriterion("district_id =", value, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdNotEqualTo(Integer value) {
            addCriterion("district_id <>", value, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdGreaterThan(Integer value) {
            addCriterion("district_id >", value, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("district_id >=", value, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdLessThan(Integer value) {
            addCriterion("district_id <", value, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdLessThanOrEqualTo(Integer value) {
            addCriterion("district_id <=", value, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdIn(List<Integer> values) {
            addCriterion("district_id in", values, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdNotIn(List<Integer> values) {
            addCriterion("district_id not in", values, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdBetween(Integer value1, Integer value2) {
            addCriterion("district_id between", value1, value2, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictIdNotBetween(Integer value1, Integer value2) {
            addCriterion("district_id not between", value1, value2, "districtId");
            return (Criteria) this;
        }

        public Criteria andDistrictNameIsNull() {
            addCriterion("district_name is null");
            return (Criteria) this;
        }

        public Criteria andDistrictNameIsNotNull() {
            addCriterion("district_name is not null");
            return (Criteria) this;
        }

        public Criteria andDistrictNameEqualTo(String value) {
            addCriterion("district_name =", value, "districtName");
            return (Criteria) this;
        }

        public Criteria andDistrictNameNotEqualTo(String value) {
            addCriterion("district_name <>", value, "districtName");
            return (Criteria) this;
        }

        public Criteria andDistrictNameGreaterThan(String value) {
            addCriterion("district_name >", value, "districtName");
            return (Criteria) this;
        }

        public Criteria andDistrictNameGreaterThanOrEqualTo(String value) {
            addCriterion("district_name >=", value, "districtName");
            return (Criteria) this;
        }

        public Criteria andDistrictNameLessThan(String value) {
            addCriterion("district_name <", value, "districtName");
            return (Criteria) this;
        }

        public Criteria andDistrictNameLessThanOrEqualTo(String value) {
            addCriterion("district_name <=", value, "districtName");
            return (Criteria) this;
        }

        public Criteria andDistrictNameLike(String value) {
            addCriterion("district_name like", value, "districtName");
            return (Criteria) this;
        }

        public Criteria andDistrictNameNotLike(String value) {
            addCriterion("district_name not like", value, "districtName");
            return (Criteria) this;
        }

        public Criteria andDistrictNameIn(List<String> values) {
            addCriterion("district_name in", values, "districtName");
            return (Criteria) this;
        }

        public Criteria andDistrictNameNotIn(List<String> values) {
            addCriterion("district_name not in", values, "districtName");
            return (Criteria) this;
        }

        public Criteria andDistrictNameBetween(String value1, String value2) {
            addCriterion("district_name between", value1, value2, "districtName");
            return (Criteria) this;
        }

        public Criteria andDistrictNameNotBetween(String value1, String value2) {
            addCriterion("district_name not between", value1, value2, "districtName");
            return (Criteria) this;
        }

        public Criteria andDestTypeIsNull() {
            addCriterion("dest_type is null");
            return (Criteria) this;
        }

        public Criteria andDestTypeIsNotNull() {
            addCriterion("dest_type is not null");
            return (Criteria) this;
        }

        public Criteria andDestTypeEqualTo(String value) {
            addCriterion("dest_type =", value, "destType");
            return (Criteria) this;
        }

        public Criteria andDestTypeNotEqualTo(String value) {
            addCriterion("dest_type <>", value, "destType");
            return (Criteria) this;
        }

        public Criteria andDestTypeGreaterThan(String value) {
            addCriterion("dest_type >", value, "destType");
            return (Criteria) this;
        }

        public Criteria andDestTypeGreaterThanOrEqualTo(String value) {
            addCriterion("dest_type >=", value, "destType");
            return (Criteria) this;
        }

        public Criteria andDestTypeLessThan(String value) {
            addCriterion("dest_type <", value, "destType");
            return (Criteria) this;
        }

        public Criteria andDestTypeLessThanOrEqualTo(String value) {
            addCriterion("dest_type <=", value, "destType");
            return (Criteria) this;
        }

        public Criteria andDestTypeLike(String value) {
            addCriterion("dest_type like", value, "destType");
            return (Criteria) this;
        }

        public Criteria andDestTypeNotLike(String value) {
            addCriterion("dest_type not like", value, "destType");
            return (Criteria) this;
        }

        public Criteria andDestTypeIn(List<String> values) {
            addCriterion("dest_type in", values, "destType");
            return (Criteria) this;
        }

        public Criteria andDestTypeNotIn(List<String> values) {
            addCriterion("dest_type not in", values, "destType");
            return (Criteria) this;
        }

        public Criteria andDestTypeBetween(String value1, String value2) {
            addCriterion("dest_type between", value1, value2, "destType");
            return (Criteria) this;
        }

        public Criteria andDestTypeNotBetween(String value1, String value2) {
            addCriterion("dest_type not between", value1, value2, "destType");
            return (Criteria) this;
        }

        public Criteria andDestTypeNameIsNull() {
            addCriterion("dest_type_name is null");
            return (Criteria) this;
        }

        public Criteria andDestTypeNameIsNotNull() {
            addCriterion("dest_type_name is not null");
            return (Criteria) this;
        }

        public Criteria andDestTypeNameEqualTo(String value) {
            addCriterion("dest_type_name =", value, "destTypeName");
            return (Criteria) this;
        }

        public Criteria andDestTypeNameNotEqualTo(String value) {
            addCriterion("dest_type_name <>", value, "destTypeName");
            return (Criteria) this;
        }

        public Criteria andDestTypeNameGreaterThan(String value) {
            addCriterion("dest_type_name >", value, "destTypeName");
            return (Criteria) this;
        }

        public Criteria andDestTypeNameGreaterThanOrEqualTo(String value) {
            addCriterion("dest_type_name >=", value, "destTypeName");
            return (Criteria) this;
        }

        public Criteria andDestTypeNameLessThan(String value) {
            addCriterion("dest_type_name <", value, "destTypeName");
            return (Criteria) this;
        }

        public Criteria andDestTypeNameLessThanOrEqualTo(String value) {
            addCriterion("dest_type_name <=", value, "destTypeName");
            return (Criteria) this;
        }

        public Criteria andDestTypeNameLike(String value) {
            addCriterion("dest_type_name like", value, "destTypeName");
            return (Criteria) this;
        }

        public Criteria andDestTypeNameNotLike(String value) {
            addCriterion("dest_type_name not like", value, "destTypeName");
            return (Criteria) this;
        }

        public Criteria andDestTypeNameIn(List<String> values) {
            addCriterion("dest_type_name in", values, "destTypeName");
            return (Criteria) this;
        }

        public Criteria andDestTypeNameNotIn(List<String> values) {
            addCriterion("dest_type_name not in", values, "destTypeName");
            return (Criteria) this;
        }

        public Criteria andDestTypeNameBetween(String value1, String value2) {
            addCriterion("dest_type_name between", value1, value2, "destTypeName");
            return (Criteria) this;
        }

        public Criteria andDestTypeNameNotBetween(String value1, String value2) {
            addCriterion("dest_type_name not between", value1, value2, "destTypeName");
            return (Criteria) this;
        }

        public Criteria andDestNameIsNull() {
            addCriterion("dest_name is null");
            return (Criteria) this;
        }

        public Criteria andDestNameIsNotNull() {
            addCriterion("dest_name is not null");
            return (Criteria) this;
        }

        public Criteria andDestNameEqualTo(String value) {
            addCriterion("dest_name =", value, "destName");
            return (Criteria) this;
        }

        public Criteria andDestNameNotEqualTo(String value) {
            addCriterion("dest_name <>", value, "destName");
            return (Criteria) this;
        }

        public Criteria andDestNameGreaterThan(String value) {
            addCriterion("dest_name >", value, "destName");
            return (Criteria) this;
        }

        public Criteria andDestNameGreaterThanOrEqualTo(String value) {
            addCriterion("dest_name >=", value, "destName");
            return (Criteria) this;
        }

        public Criteria andDestNameLessThan(String value) {
            addCriterion("dest_name <", value, "destName");
            return (Criteria) this;
        }

        public Criteria andDestNameLessThanOrEqualTo(String value) {
            addCriterion("dest_name <=", value, "destName");
            return (Criteria) this;
        }

        public Criteria andDestNameLike(String value) {
            addCriterion("dest_name like", value, "destName");
            return (Criteria) this;
        }

        public Criteria andDestNameNotLike(String value) {
            addCriterion("dest_name not like", value, "destName");
            return (Criteria) this;
        }

        public Criteria andDestNameIn(List<String> values) {
            addCriterion("dest_name in", values, "destName");
            return (Criteria) this;
        }

        public Criteria andDestNameNotIn(List<String> values) {
            addCriterion("dest_name not in", values, "destName");
            return (Criteria) this;
        }

        public Criteria andDestNameBetween(String value1, String value2) {
            addCriterion("dest_name between", value1, value2, "destName");
            return (Criteria) this;
        }

        public Criteria andDestNameNotBetween(String value1, String value2) {
            addCriterion("dest_name not between", value1, value2, "destName");
            return (Criteria) this;
        }

        public Criteria andEnNameIsNull() {
            addCriterion("en_name is null");
            return (Criteria) this;
        }

        public Criteria andEnNameIsNotNull() {
            addCriterion("en_name is not null");
            return (Criteria) this;
        }

        public Criteria andEnNameEqualTo(String value) {
            addCriterion("en_name =", value, "enName");
            return (Criteria) this;
        }

        public Criteria andEnNameNotEqualTo(String value) {
            addCriterion("en_name <>", value, "enName");
            return (Criteria) this;
        }

        public Criteria andEnNameGreaterThan(String value) {
            addCriterion("en_name >", value, "enName");
            return (Criteria) this;
        }

        public Criteria andEnNameGreaterThanOrEqualTo(String value) {
            addCriterion("en_name >=", value, "enName");
            return (Criteria) this;
        }

        public Criteria andEnNameLessThan(String value) {
            addCriterion("en_name <", value, "enName");
            return (Criteria) this;
        }

        public Criteria andEnNameLessThanOrEqualTo(String value) {
            addCriterion("en_name <=", value, "enName");
            return (Criteria) this;
        }

        public Criteria andEnNameLike(String value) {
            addCriterion("en_name like", value, "enName");
            return (Criteria) this;
        }

        public Criteria andEnNameNotLike(String value) {
            addCriterion("en_name not like", value, "enName");
            return (Criteria) this;
        }

        public Criteria andEnNameIn(List<String> values) {
            addCriterion("en_name in", values, "enName");
            return (Criteria) this;
        }

        public Criteria andEnNameNotIn(List<String> values) {
            addCriterion("en_name not in", values, "enName");
            return (Criteria) this;
        }

        public Criteria andEnNameBetween(String value1, String value2) {
            addCriterion("en_name between", value1, value2, "enName");
            return (Criteria) this;
        }

        public Criteria andEnNameNotBetween(String value1, String value2) {
            addCriterion("en_name not between", value1, value2, "enName");
            return (Criteria) this;
        }

        public Criteria andPinyinIsNull() {
            addCriterion("pinyin is null");
            return (Criteria) this;
        }

        public Criteria andPinyinIsNotNull() {
            addCriterion("pinyin is not null");
            return (Criteria) this;
        }

        public Criteria andPinyinEqualTo(String value) {
            addCriterion("pinyin =", value, "pinyin");
            return (Criteria) this;
        }

        public Criteria andPinyinNotEqualTo(String value) {
            addCriterion("pinyin <>", value, "pinyin");
            return (Criteria) this;
        }

        public Criteria andPinyinGreaterThan(String value) {
            addCriterion("pinyin >", value, "pinyin");
            return (Criteria) this;
        }

        public Criteria andPinyinGreaterThanOrEqualTo(String value) {
            addCriterion("pinyin >=", value, "pinyin");
            return (Criteria) this;
        }

        public Criteria andPinyinLessThan(String value) {
            addCriterion("pinyin <", value, "pinyin");
            return (Criteria) this;
        }

        public Criteria andPinyinLessThanOrEqualTo(String value) {
            addCriterion("pinyin <=", value, "pinyin");
            return (Criteria) this;
        }

        public Criteria andPinyinLike(String value) {
            addCriterion("pinyin like", value, "pinyin");
            return (Criteria) this;
        }

        public Criteria andPinyinNotLike(String value) {
            addCriterion("pinyin not like", value, "pinyin");
            return (Criteria) this;
        }

        public Criteria andPinyinIn(List<String> values) {
            addCriterion("pinyin in", values, "pinyin");
            return (Criteria) this;
        }

        public Criteria andPinyinNotIn(List<String> values) {
            addCriterion("pinyin not in", values, "pinyin");
            return (Criteria) this;
        }

        public Criteria andPinyinBetween(String value1, String value2) {
            addCriterion("pinyin between", value1, value2, "pinyin");
            return (Criteria) this;
        }

        public Criteria andPinyinNotBetween(String value1, String value2) {
            addCriterion("pinyin not between", value1, value2, "pinyin");
            return (Criteria) this;
        }

        public Criteria andShortPinyinIsNull() {
            addCriterion("short_pinyin is null");
            return (Criteria) this;
        }

        public Criteria andShortPinyinIsNotNull() {
            addCriterion("short_pinyin is not null");
            return (Criteria) this;
        }

        public Criteria andShortPinyinEqualTo(String value) {
            addCriterion("short_pinyin =", value, "shortPinyin");
            return (Criteria) this;
        }

        public Criteria andShortPinyinNotEqualTo(String value) {
            addCriterion("short_pinyin <>", value, "shortPinyin");
            return (Criteria) this;
        }

        public Criteria andShortPinyinGreaterThan(String value) {
            addCriterion("short_pinyin >", value, "shortPinyin");
            return (Criteria) this;
        }

        public Criteria andShortPinyinGreaterThanOrEqualTo(String value) {
            addCriterion("short_pinyin >=", value, "shortPinyin");
            return (Criteria) this;
        }

        public Criteria andShortPinyinLessThan(String value) {
            addCriterion("short_pinyin <", value, "shortPinyin");
            return (Criteria) this;
        }

        public Criteria andShortPinyinLessThanOrEqualTo(String value) {
            addCriterion("short_pinyin <=", value, "shortPinyin");
            return (Criteria) this;
        }

        public Criteria andShortPinyinLike(String value) {
            addCriterion("short_pinyin like", value, "shortPinyin");
            return (Criteria) this;
        }

        public Criteria andShortPinyinNotLike(String value) {
            addCriterion("short_pinyin not like", value, "shortPinyin");
            return (Criteria) this;
        }

        public Criteria andShortPinyinIn(List<String> values) {
            addCriterion("short_pinyin in", values, "shortPinyin");
            return (Criteria) this;
        }

        public Criteria andShortPinyinNotIn(List<String> values) {
            addCriterion("short_pinyin not in", values, "shortPinyin");
            return (Criteria) this;
        }

        public Criteria andShortPinyinBetween(String value1, String value2) {
            addCriterion("short_pinyin between", value1, value2, "shortPinyin");
            return (Criteria) this;
        }

        public Criteria andShortPinyinNotBetween(String value1, String value2) {
            addCriterion("short_pinyin not between", value1, value2, "shortPinyin");
            return (Criteria) this;
        }

        public Criteria andCancelFlagIsNull() {
            addCriterion("cancel_flag is null");
            return (Criteria) this;
        }

        public Criteria andCancelFlagIsNotNull() {
            addCriterion("cancel_flag is not null");
            return (Criteria) this;
        }

        public Criteria andCancelFlagEqualTo(String value) {
            addCriterion("cancel_flag =", value, "cancelFlag");
            return (Criteria) this;
        }

        public Criteria andCancelFlagNotEqualTo(String value) {
            addCriterion("cancel_flag <>", value, "cancelFlag");
            return (Criteria) this;
        }

        public Criteria andCancelFlagGreaterThan(String value) {
            addCriterion("cancel_flag >", value, "cancelFlag");
            return (Criteria) this;
        }

        public Criteria andCancelFlagGreaterThanOrEqualTo(String value) {
            addCriterion("cancel_flag >=", value, "cancelFlag");
            return (Criteria) this;
        }

        public Criteria andCancelFlagLessThan(String value) {
            addCriterion("cancel_flag <", value, "cancelFlag");
            return (Criteria) this;
        }

        public Criteria andCancelFlagLessThanOrEqualTo(String value) {
            addCriterion("cancel_flag <=", value, "cancelFlag");
            return (Criteria) this;
        }

        public Criteria andCancelFlagLike(String value) {
            addCriterion("cancel_flag like", value, "cancelFlag");
            return (Criteria) this;
        }

        public Criteria andCancelFlagNotLike(String value) {
            addCriterion("cancel_flag not like", value, "cancelFlag");
            return (Criteria) this;
        }

        public Criteria andCancelFlagIn(List<String> values) {
            addCriterion("cancel_flag in", values, "cancelFlag");
            return (Criteria) this;
        }

        public Criteria andCancelFlagNotIn(List<String> values) {
            addCriterion("cancel_flag not in", values, "cancelFlag");
            return (Criteria) this;
        }

        public Criteria andCancelFlagBetween(String value1, String value2) {
            addCriterion("cancel_flag between", value1, value2, "cancelFlag");
            return (Criteria) this;
        }

        public Criteria andCancelFlagNotBetween(String value1, String value2) {
            addCriterion("cancel_flag not between", value1, value2, "cancelFlag");
            return (Criteria) this;
        }

        public Criteria andStageIsNull() {
            addCriterion("stage is null");
            return (Criteria) this;
        }

        public Criteria andStageIsNotNull() {
            addCriterion("stage is not null");
            return (Criteria) this;
        }

        public Criteria andStageEqualTo(Boolean value) {
            addCriterion("stage =", value, "stage");
            return (Criteria) this;
        }

        public Criteria andStageNotEqualTo(Boolean value) {
            addCriterion("stage <>", value, "stage");
            return (Criteria) this;
        }

        public Criteria andStageGreaterThan(Boolean value) {
            addCriterion("stage >", value, "stage");
            return (Criteria) this;
        }

        public Criteria andStageGreaterThanOrEqualTo(Boolean value) {
            addCriterion("stage >=", value, "stage");
            return (Criteria) this;
        }

        public Criteria andStageLessThan(Boolean value) {
            addCriterion("stage <", value, "stage");
            return (Criteria) this;
        }

        public Criteria andStageLessThanOrEqualTo(Boolean value) {
            addCriterion("stage <=", value, "stage");
            return (Criteria) this;
        }

        public Criteria andStageIn(List<Boolean> values) {
            addCriterion("stage in", values, "stage");
            return (Criteria) this;
        }

        public Criteria andStageNotIn(List<Boolean> values) {
            addCriterion("stage not in", values, "stage");
            return (Criteria) this;
        }

        public Criteria andStageBetween(Boolean value1, Boolean value2) {
            addCriterion("stage between", value1, value2, "stage");
            return (Criteria) this;
        }

        public Criteria andStageNotBetween(Boolean value1, Boolean value2) {
            addCriterion("stage not between", value1, value2, "stage");
            return (Criteria) this;
        }

        public Criteria andRangeIsNull() {
            addCriterion("range is null");
            return (Criteria) this;
        }

        public Criteria andRangeIsNotNull() {
            addCriterion("range is not null");
            return (Criteria) this;
        }

        public Criteria andRangeEqualTo(Boolean value) {
            addCriterion("range =", value, "range");
            return (Criteria) this;
        }

        public Criteria andRangeNotEqualTo(Boolean value) {
            addCriterion("range <>", value, "range");
            return (Criteria) this;
        }

        public Criteria andRangeGreaterThan(Boolean value) {
            addCriterion("range >", value, "range");
            return (Criteria) this;
        }

        public Criteria andRangeGreaterThanOrEqualTo(Boolean value) {
            addCriterion("range >=", value, "range");
            return (Criteria) this;
        }

        public Criteria andRangeLessThan(Boolean value) {
            addCriterion("range <", value, "range");
            return (Criteria) this;
        }

        public Criteria andRangeLessThanOrEqualTo(Boolean value) {
            addCriterion("range <=", value, "range");
            return (Criteria) this;
        }

        public Criteria andRangeIn(List<Boolean> values) {
            addCriterion("range in", values, "range");
            return (Criteria) this;
        }

        public Criteria andRangeNotIn(List<Boolean> values) {
            addCriterion("range not in", values, "range");
            return (Criteria) this;
        }

        public Criteria andRangeBetween(Boolean value1, Boolean value2) {
            addCriterion("range between", value1, value2, "range");
            return (Criteria) this;
        }

        public Criteria andRangeNotBetween(Boolean value1, Boolean value2) {
            addCriterion("range not between", value1, value2, "range");
            return (Criteria) this;
        }

        public Criteria andIntroIsNull() {
            addCriterion("intro is null");
            return (Criteria) this;
        }

        public Criteria andIntroIsNotNull() {
            addCriterion("intro is not null");
            return (Criteria) this;
        }

        public Criteria andIntroEqualTo(String value) {
            addCriterion("intro =", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroNotEqualTo(String value) {
            addCriterion("intro <>", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroGreaterThan(String value) {
            addCriterion("intro >", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroGreaterThanOrEqualTo(String value) {
            addCriterion("intro >=", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroLessThan(String value) {
            addCriterion("intro <", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroLessThanOrEqualTo(String value) {
            addCriterion("intro <=", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroLike(String value) {
            addCriterion("intro like", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroNotLike(String value) {
            addCriterion("intro not like", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroIn(List<String> values) {
            addCriterion("intro in", values, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroNotIn(List<String> values) {
            addCriterion("intro not in", values, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroBetween(String value1, String value2) {
            addCriterion("intro between", value1, value2, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroNotBetween(String value1, String value2) {
            addCriterion("intro not between", value1, value2, "intro");
            return (Criteria) this;
        }

        public Criteria andStarIsNull() {
            addCriterion("star is null");
            return (Criteria) this;
        }

        public Criteria andStarIsNotNull() {
            addCriterion("star is not null");
            return (Criteria) this;
        }

        public Criteria andStarEqualTo(Boolean value) {
            addCriterion("star =", value, "star");
            return (Criteria) this;
        }

        public Criteria andStarNotEqualTo(Boolean value) {
            addCriterion("star <>", value, "star");
            return (Criteria) this;
        }

        public Criteria andStarGreaterThan(Boolean value) {
            addCriterion("star >", value, "star");
            return (Criteria) this;
        }

        public Criteria andStarGreaterThanOrEqualTo(Boolean value) {
            addCriterion("star >=", value, "star");
            return (Criteria) this;
        }

        public Criteria andStarLessThan(Boolean value) {
            addCriterion("star <", value, "star");
            return (Criteria) this;
        }

        public Criteria andStarLessThanOrEqualTo(Boolean value) {
            addCriterion("star <=", value, "star");
            return (Criteria) this;
        }

        public Criteria andStarIn(List<Boolean> values) {
            addCriterion("star in", values, "star");
            return (Criteria) this;
        }

        public Criteria andStarNotIn(List<Boolean> values) {
            addCriterion("star not in", values, "star");
            return (Criteria) this;
        }

        public Criteria andStarBetween(Boolean value1, Boolean value2) {
            addCriterion("star between", value1, value2, "star");
            return (Criteria) this;
        }

        public Criteria andStarNotBetween(Boolean value1, Boolean value2) {
            addCriterion("star not between", value1, value2, "star");
            return (Criteria) this;
        }

        public Criteria andAbroadIsNull() {
            addCriterion("abroad is null");
            return (Criteria) this;
        }

        public Criteria andAbroadIsNotNull() {
            addCriterion("abroad is not null");
            return (Criteria) this;
        }

        public Criteria andAbroadEqualTo(String value) {
            addCriterion("abroad =", value, "abroad");
            return (Criteria) this;
        }

        public Criteria andAbroadNotEqualTo(String value) {
            addCriterion("abroad <>", value, "abroad");
            return (Criteria) this;
        }

        public Criteria andAbroadGreaterThan(String value) {
            addCriterion("abroad >", value, "abroad");
            return (Criteria) this;
        }

        public Criteria andAbroadGreaterThanOrEqualTo(String value) {
            addCriterion("abroad >=", value, "abroad");
            return (Criteria) this;
        }

        public Criteria andAbroadLessThan(String value) {
            addCriterion("abroad <", value, "abroad");
            return (Criteria) this;
        }

        public Criteria andAbroadLessThanOrEqualTo(String value) {
            addCriterion("abroad <=", value, "abroad");
            return (Criteria) this;
        }

        public Criteria andAbroadLike(String value) {
            addCriterion("abroad like", value, "abroad");
            return (Criteria) this;
        }

        public Criteria andAbroadNotLike(String value) {
            addCriterion("abroad not like", value, "abroad");
            return (Criteria) this;
        }

        public Criteria andAbroadIn(List<String> values) {
            addCriterion("abroad in", values, "abroad");
            return (Criteria) this;
        }

        public Criteria andAbroadNotIn(List<String> values) {
            addCriterion("abroad not in", values, "abroad");
            return (Criteria) this;
        }

        public Criteria andAbroadBetween(String value1, String value2) {
            addCriterion("abroad between", value1, value2, "abroad");
            return (Criteria) this;
        }

        public Criteria andAbroadNotBetween(String value1, String value2) {
            addCriterion("abroad not between", value1, value2, "abroad");
            return (Criteria) this;
        }

        public Criteria andImgUrlIsNull() {
            addCriterion("img_url is null");
            return (Criteria) this;
        }

        public Criteria andImgUrlIsNotNull() {
            addCriterion("img_url is not null");
            return (Criteria) this;
        }

        public Criteria andImgUrlEqualTo(String value) {
            addCriterion("img_url =", value, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlNotEqualTo(String value) {
            addCriterion("img_url <>", value, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlGreaterThan(String value) {
            addCriterion("img_url >", value, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlGreaterThanOrEqualTo(String value) {
            addCriterion("img_url >=", value, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlLessThan(String value) {
            addCriterion("img_url <", value, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlLessThanOrEqualTo(String value) {
            addCriterion("img_url <=", value, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlLike(String value) {
            addCriterion("img_url like", value, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlNotLike(String value) {
            addCriterion("img_url not like", value, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlIn(List<String> values) {
            addCriterion("img_url in", values, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlNotIn(List<String> values) {
            addCriterion("img_url not in", values, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlBetween(String value1, String value2) {
            addCriterion("img_url between", value1, value2, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlNotBetween(String value1, String value2) {
            addCriterion("img_url not between", value1, value2, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andRankingIsNull() {
            addCriterion("ranking is null");
            return (Criteria) this;
        }

        public Criteria andRankingIsNotNull() {
            addCriterion("ranking is not null");
            return (Criteria) this;
        }

        public Criteria andRankingEqualTo(Integer value) {
            addCriterion("ranking =", value, "ranking");
            return (Criteria) this;
        }

        public Criteria andRankingNotEqualTo(Integer value) {
            addCriterion("ranking <>", value, "ranking");
            return (Criteria) this;
        }

        public Criteria andRankingGreaterThan(Integer value) {
            addCriterion("ranking >", value, "ranking");
            return (Criteria) this;
        }

        public Criteria andRankingGreaterThanOrEqualTo(Integer value) {
            addCriterion("ranking >=", value, "ranking");
            return (Criteria) this;
        }

        public Criteria andRankingLessThan(Integer value) {
            addCriterion("ranking <", value, "ranking");
            return (Criteria) this;
        }

        public Criteria andRankingLessThanOrEqualTo(Integer value) {
            addCriterion("ranking <=", value, "ranking");
            return (Criteria) this;
        }

        public Criteria andRankingIn(List<Integer> values) {
            addCriterion("ranking in", values, "ranking");
            return (Criteria) this;
        }

        public Criteria andRankingNotIn(List<Integer> values) {
            addCriterion("ranking not in", values, "ranking");
            return (Criteria) this;
        }

        public Criteria andRankingBetween(Integer value1, Integer value2) {
            addCriterion("ranking between", value1, value2, "ranking");
            return (Criteria) this;
        }

        public Criteria andRankingNotBetween(Integer value1, Integer value2) {
            addCriterion("ranking not between", value1, value2, "ranking");
            return (Criteria) this;
        }

        public Criteria andPlayTimeIsNull() {
            addCriterion("play_time is null");
            return (Criteria) this;
        }

        public Criteria andPlayTimeIsNotNull() {
            addCriterion("play_time is not null");
            return (Criteria) this;
        }

        public Criteria andPlayTimeEqualTo(String value) {
            addCriterion("play_time =", value, "playTime");
            return (Criteria) this;
        }

        public Criteria andPlayTimeNotEqualTo(String value) {
            addCriterion("play_time <>", value, "playTime");
            return (Criteria) this;
        }

        public Criteria andPlayTimeGreaterThan(String value) {
            addCriterion("play_time >", value, "playTime");
            return (Criteria) this;
        }

        public Criteria andPlayTimeGreaterThanOrEqualTo(String value) {
            addCriterion("play_time >=", value, "playTime");
            return (Criteria) this;
        }

        public Criteria andPlayTimeLessThan(String value) {
            addCriterion("play_time <", value, "playTime");
            return (Criteria) this;
        }

        public Criteria andPlayTimeLessThanOrEqualTo(String value) {
            addCriterion("play_time <=", value, "playTime");
            return (Criteria) this;
        }

        public Criteria andPlayTimeLike(String value) {
            addCriterion("play_time like", value, "playTime");
            return (Criteria) this;
        }

        public Criteria andPlayTimeNotLike(String value) {
            addCriterion("play_time not like", value, "playTime");
            return (Criteria) this;
        }

        public Criteria andPlayTimeIn(List<String> values) {
            addCriterion("play_time in", values, "playTime");
            return (Criteria) this;
        }

        public Criteria andPlayTimeNotIn(List<String> values) {
            addCriterion("play_time not in", values, "playTime");
            return (Criteria) this;
        }

        public Criteria andPlayTimeBetween(String value1, String value2) {
            addCriterion("play_time between", value1, value2, "playTime");
            return (Criteria) this;
        }

        public Criteria andPlayTimeNotBetween(String value1, String value2) {
            addCriterion("play_time not between", value1, value2, "playTime");
            return (Criteria) this;
        }

        public Criteria andHeritageIsNull() {
            addCriterion("heritage is null");
            return (Criteria) this;
        }

        public Criteria andHeritageIsNotNull() {
            addCriterion("heritage is not null");
            return (Criteria) this;
        }

        public Criteria andHeritageEqualTo(String value) {
            addCriterion("heritage =", value, "heritage");
            return (Criteria) this;
        }

        public Criteria andHeritageNotEqualTo(String value) {
            addCriterion("heritage <>", value, "heritage");
            return (Criteria) this;
        }

        public Criteria andHeritageGreaterThan(String value) {
            addCriterion("heritage >", value, "heritage");
            return (Criteria) this;
        }

        public Criteria andHeritageGreaterThanOrEqualTo(String value) {
            addCriterion("heritage >=", value, "heritage");
            return (Criteria) this;
        }

        public Criteria andHeritageLessThan(String value) {
            addCriterion("heritage <", value, "heritage");
            return (Criteria) this;
        }

        public Criteria andHeritageLessThanOrEqualTo(String value) {
            addCriterion("heritage <=", value, "heritage");
            return (Criteria) this;
        }

        public Criteria andHeritageLike(String value) {
            addCriterion("heritage like", value, "heritage");
            return (Criteria) this;
        }

        public Criteria andHeritageNotLike(String value) {
            addCriterion("heritage not like", value, "heritage");
            return (Criteria) this;
        }

        public Criteria andHeritageIn(List<String> values) {
            addCriterion("heritage in", values, "heritage");
            return (Criteria) this;
        }

        public Criteria andHeritageNotIn(List<String> values) {
            addCriterion("heritage not in", values, "heritage");
            return (Criteria) this;
        }

        public Criteria andHeritageBetween(String value1, String value2) {
            addCriterion("heritage between", value1, value2, "heritage");
            return (Criteria) this;
        }

        public Criteria andHeritageNotBetween(String value1, String value2) {
            addCriterion("heritage not between", value1, value2, "heritage");
            return (Criteria) this;
        }

        public Criteria andProtectedAreaIsNull() {
            addCriterion("protected_area is null");
            return (Criteria) this;
        }

        public Criteria andProtectedAreaIsNotNull() {
            addCriterion("protected_area is not null");
            return (Criteria) this;
        }

        public Criteria andProtectedAreaEqualTo(String value) {
            addCriterion("protected_area =", value, "protectedArea");
            return (Criteria) this;
        }

        public Criteria andProtectedAreaNotEqualTo(String value) {
            addCriterion("protected_area <>", value, "protectedArea");
            return (Criteria) this;
        }

        public Criteria andProtectedAreaGreaterThan(String value) {
            addCriterion("protected_area >", value, "protectedArea");
            return (Criteria) this;
        }

        public Criteria andProtectedAreaGreaterThanOrEqualTo(String value) {
            addCriterion("protected_area >=", value, "protectedArea");
            return (Criteria) this;
        }

        public Criteria andProtectedAreaLessThan(String value) {
            addCriterion("protected_area <", value, "protectedArea");
            return (Criteria) this;
        }

        public Criteria andProtectedAreaLessThanOrEqualTo(String value) {
            addCriterion("protected_area <=", value, "protectedArea");
            return (Criteria) this;
        }

        public Criteria andProtectedAreaLike(String value) {
            addCriterion("protected_area like", value, "protectedArea");
            return (Criteria) this;
        }

        public Criteria andProtectedAreaNotLike(String value) {
            addCriterion("protected_area not like", value, "protectedArea");
            return (Criteria) this;
        }

        public Criteria andProtectedAreaIn(List<String> values) {
            addCriterion("protected_area in", values, "protectedArea");
            return (Criteria) this;
        }

        public Criteria andProtectedAreaNotIn(List<String> values) {
            addCriterion("protected_area not in", values, "protectedArea");
            return (Criteria) this;
        }

        public Criteria andProtectedAreaBetween(String value1, String value2) {
            addCriterion("protected_area between", value1, value2, "protectedArea");
            return (Criteria) this;
        }

        public Criteria andProtectedAreaNotBetween(String value1, String value2) {
            addCriterion("protected_area not between", value1, value2, "protectedArea");
            return (Criteria) this;
        }

        public Criteria andEntSightIsNull() {
            addCriterion("ent_sight is null");
            return (Criteria) this;
        }

        public Criteria andEntSightIsNotNull() {
            addCriterion("ent_sight is not null");
            return (Criteria) this;
        }

        public Criteria andEntSightEqualTo(String value) {
            addCriterion("ent_sight =", value, "entSight");
            return (Criteria) this;
        }

        public Criteria andEntSightNotEqualTo(String value) {
            addCriterion("ent_sight <>", value, "entSight");
            return (Criteria) this;
        }

        public Criteria andEntSightGreaterThan(String value) {
            addCriterion("ent_sight >", value, "entSight");
            return (Criteria) this;
        }

        public Criteria andEntSightGreaterThanOrEqualTo(String value) {
            addCriterion("ent_sight >=", value, "entSight");
            return (Criteria) this;
        }

        public Criteria andEntSightLessThan(String value) {
            addCriterion("ent_sight <", value, "entSight");
            return (Criteria) this;
        }

        public Criteria andEntSightLessThanOrEqualTo(String value) {
            addCriterion("ent_sight <=", value, "entSight");
            return (Criteria) this;
        }

        public Criteria andEntSightLike(String value) {
            addCriterion("ent_sight like", value, "entSight");
            return (Criteria) this;
        }

        public Criteria andEntSightNotLike(String value) {
            addCriterion("ent_sight not like", value, "entSight");
            return (Criteria) this;
        }

        public Criteria andEntSightIn(List<String> values) {
            addCriterion("ent_sight in", values, "entSight");
            return (Criteria) this;
        }

        public Criteria andEntSightNotIn(List<String> values) {
            addCriterion("ent_sight not in", values, "entSight");
            return (Criteria) this;
        }

        public Criteria andEntSightBetween(String value1, String value2) {
            addCriterion("ent_sight between", value1, value2, "entSight");
            return (Criteria) this;
        }

        public Criteria andEntSightNotBetween(String value1, String value2) {
            addCriterion("ent_sight not between", value1, value2, "entSight");
            return (Criteria) this;
        }

        public Criteria andCountWantIsNull() {
            addCriterion("count_want is null");
            return (Criteria) this;
        }

        public Criteria andCountWantIsNotNull() {
            addCriterion("count_want is not null");
            return (Criteria) this;
        }

        public Criteria andCountWantEqualTo(Integer value) {
            addCriterion("count_want =", value, "countWant");
            return (Criteria) this;
        }

        public Criteria andCountWantNotEqualTo(Integer value) {
            addCriterion("count_want <>", value, "countWant");
            return (Criteria) this;
        }

        public Criteria andCountWantGreaterThan(Integer value) {
            addCriterion("count_want >", value, "countWant");
            return (Criteria) this;
        }

        public Criteria andCountWantGreaterThanOrEqualTo(Integer value) {
            addCriterion("count_want >=", value, "countWant");
            return (Criteria) this;
        }

        public Criteria andCountWantLessThan(Integer value) {
            addCriterion("count_want <", value, "countWant");
            return (Criteria) this;
        }

        public Criteria andCountWantLessThanOrEqualTo(Integer value) {
            addCriterion("count_want <=", value, "countWant");
            return (Criteria) this;
        }

        public Criteria andCountWantIn(List<Integer> values) {
            addCriterion("count_want in", values, "countWant");
            return (Criteria) this;
        }

        public Criteria andCountWantNotIn(List<Integer> values) {
            addCriterion("count_want not in", values, "countWant");
            return (Criteria) this;
        }

        public Criteria andCountWantBetween(Integer value1, Integer value2) {
            addCriterion("count_want between", value1, value2, "countWant");
            return (Criteria) this;
        }

        public Criteria andCountWantNotBetween(Integer value1, Integer value2) {
            addCriterion("count_want not between", value1, value2, "countWant");
            return (Criteria) this;
        }

        public Criteria andCountBeenIsNull() {
            addCriterion("count_been is null");
            return (Criteria) this;
        }

        public Criteria andCountBeenIsNotNull() {
            addCriterion("count_been is not null");
            return (Criteria) this;
        }

        public Criteria andCountBeenEqualTo(Integer value) {
            addCriterion("count_been =", value, "countBeen");
            return (Criteria) this;
        }

        public Criteria andCountBeenNotEqualTo(Integer value) {
            addCriterion("count_been <>", value, "countBeen");
            return (Criteria) this;
        }

        public Criteria andCountBeenGreaterThan(Integer value) {
            addCriterion("count_been >", value, "countBeen");
            return (Criteria) this;
        }

        public Criteria andCountBeenGreaterThanOrEqualTo(Integer value) {
            addCriterion("count_been >=", value, "countBeen");
            return (Criteria) this;
        }

        public Criteria andCountBeenLessThan(Integer value) {
            addCriterion("count_been <", value, "countBeen");
            return (Criteria) this;
        }

        public Criteria andCountBeenLessThanOrEqualTo(Integer value) {
            addCriterion("count_been <=", value, "countBeen");
            return (Criteria) this;
        }

        public Criteria andCountBeenIn(List<Integer> values) {
            addCriterion("count_been in", values, "countBeen");
            return (Criteria) this;
        }

        public Criteria andCountBeenNotIn(List<Integer> values) {
            addCriterion("count_been not in", values, "countBeen");
            return (Criteria) this;
        }

        public Criteria andCountBeenBetween(Integer value1, Integer value2) {
            addCriterion("count_been between", value1, value2, "countBeen");
            return (Criteria) this;
        }

        public Criteria andCountBeenNotBetween(Integer value1, Integer value2) {
            addCriterion("count_been not between", value1, value2, "countBeen");
            return (Criteria) this;
        }

        public Criteria andCoordTypeIsNull() {
            addCriterion("coord_type is null");
            return (Criteria) this;
        }

        public Criteria andCoordTypeIsNotNull() {
            addCriterion("coord_type is not null");
            return (Criteria) this;
        }

        public Criteria andCoordTypeEqualTo(String value) {
            addCriterion("coord_type =", value, "coordType");
            return (Criteria) this;
        }

        public Criteria andCoordTypeNotEqualTo(String value) {
            addCriterion("coord_type <>", value, "coordType");
            return (Criteria) this;
        }

        public Criteria andCoordTypeGreaterThan(String value) {
            addCriterion("coord_type >", value, "coordType");
            return (Criteria) this;
        }

        public Criteria andCoordTypeGreaterThanOrEqualTo(String value) {
            addCriterion("coord_type >=", value, "coordType");
            return (Criteria) this;
        }

        public Criteria andCoordTypeLessThan(String value) {
            addCriterion("coord_type <", value, "coordType");
            return (Criteria) this;
        }

        public Criteria andCoordTypeLessThanOrEqualTo(String value) {
            addCriterion("coord_type <=", value, "coordType");
            return (Criteria) this;
        }

        public Criteria andCoordTypeLike(String value) {
            addCriterion("coord_type like", value, "coordType");
            return (Criteria) this;
        }

        public Criteria andCoordTypeNotLike(String value) {
            addCriterion("coord_type not like", value, "coordType");
            return (Criteria) this;
        }

        public Criteria andCoordTypeIn(List<String> values) {
            addCriterion("coord_type in", values, "coordType");
            return (Criteria) this;
        }

        public Criteria andCoordTypeNotIn(List<String> values) {
            addCriterion("coord_type not in", values, "coordType");
            return (Criteria) this;
        }

        public Criteria andCoordTypeBetween(String value1, String value2) {
            addCriterion("coord_type between", value1, value2, "coordType");
            return (Criteria) this;
        }

        public Criteria andCoordTypeNotBetween(String value1, String value2) {
            addCriterion("coord_type not between", value1, value2, "coordType");
            return (Criteria) this;
        }

        public Criteria andScenicTagIsNull() {
            addCriterion("scenic_tag is null");
            return (Criteria) this;
        }

        public Criteria andScenicTagIsNotNull() {
            addCriterion("scenic_tag is not null");
            return (Criteria) this;
        }

        public Criteria andScenicTagEqualTo(String value) {
            addCriterion("scenic_tag =", value, "scenicTag");
            return (Criteria) this;
        }

        public Criteria andScenicTagNotEqualTo(String value) {
            addCriterion("scenic_tag <>", value, "scenicTag");
            return (Criteria) this;
        }

        public Criteria andScenicTagGreaterThan(String value) {
            addCriterion("scenic_tag >", value, "scenicTag");
            return (Criteria) this;
        }

        public Criteria andScenicTagGreaterThanOrEqualTo(String value) {
            addCriterion("scenic_tag >=", value, "scenicTag");
            return (Criteria) this;
        }

        public Criteria andScenicTagLessThan(String value) {
            addCriterion("scenic_tag <", value, "scenicTag");
            return (Criteria) this;
        }

        public Criteria andScenicTagLessThanOrEqualTo(String value) {
            addCriterion("scenic_tag <=", value, "scenicTag");
            return (Criteria) this;
        }

        public Criteria andScenicTagLike(String value) {
            addCriterion("scenic_tag like", value, "scenicTag");
            return (Criteria) this;
        }

        public Criteria andScenicTagNotLike(String value) {
            addCriterion("scenic_tag not like", value, "scenicTag");
            return (Criteria) this;
        }

        public Criteria andScenicTagIn(List<String> values) {
            addCriterion("scenic_tag in", values, "scenicTag");
            return (Criteria) this;
        }

        public Criteria andScenicTagNotIn(List<String> values) {
            addCriterion("scenic_tag not in", values, "scenicTag");
            return (Criteria) this;
        }

        public Criteria andScenicTagBetween(String value1, String value2) {
            addCriterion("scenic_tag between", value1, value2, "scenicTag");
            return (Criteria) this;
        }

        public Criteria andScenicTagNotBetween(String value1, String value2) {
            addCriterion("scenic_tag not between", value1, value2, "scenicTag");
            return (Criteria) this;
        }

        public Criteria andLongitudeIsNull() {
            addCriterion("longitude is null");
            return (Criteria) this;
        }

        public Criteria andLongitudeIsNotNull() {
            addCriterion("longitude is not null");
            return (Criteria) this;
        }

        public Criteria andLongitudeEqualTo(BigDecimal value) {
            addCriterion("longitude =", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotEqualTo(BigDecimal value) {
            addCriterion("longitude <>", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeGreaterThan(BigDecimal value) {
            addCriterion("longitude >", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("longitude >=", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeLessThan(BigDecimal value) {
            addCriterion("longitude <", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("longitude <=", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeIn(List<BigDecimal> values) {
            addCriterion("longitude in", values, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotIn(List<BigDecimal> values) {
            addCriterion("longitude not in", values, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("longitude between", value1, value2, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("longitude not between", value1, value2, "longitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeIsNull() {
            addCriterion("latitude is null");
            return (Criteria) this;
        }

        public Criteria andLatitudeIsNotNull() {
            addCriterion("latitude is not null");
            return (Criteria) this;
        }

        public Criteria andLatitudeEqualTo(BigDecimal value) {
            addCriterion("latitude =", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotEqualTo(BigDecimal value) {
            addCriterion("latitude <>", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeGreaterThan(BigDecimal value) {
            addCriterion("latitude >", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("latitude >=", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeLessThan(BigDecimal value) {
            addCriterion("latitude <", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("latitude <=", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeIn(List<BigDecimal> values) {
            addCriterion("latitude in", values, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotIn(List<BigDecimal> values) {
            addCriterion("latitude not in", values, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("latitude between", value1, value2, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("latitude not between", value1, value2, "latitude");
            return (Criteria) this;
        }

        public Criteria andGLongitudeIsNull() {
            addCriterion("g_longitude is null");
            return (Criteria) this;
        }

        public Criteria andGLongitudeIsNotNull() {
            addCriterion("g_longitude is not null");
            return (Criteria) this;
        }

        public Criteria andGLongitudeEqualTo(BigDecimal value) {
            addCriterion("g_longitude =", value, "gLongitude");
            return (Criteria) this;
        }

        public Criteria andGLongitudeNotEqualTo(BigDecimal value) {
            addCriterion("g_longitude <>", value, "gLongitude");
            return (Criteria) this;
        }

        public Criteria andGLongitudeGreaterThan(BigDecimal value) {
            addCriterion("g_longitude >", value, "gLongitude");
            return (Criteria) this;
        }

        public Criteria andGLongitudeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("g_longitude >=", value, "gLongitude");
            return (Criteria) this;
        }

        public Criteria andGLongitudeLessThan(BigDecimal value) {
            addCriterion("g_longitude <", value, "gLongitude");
            return (Criteria) this;
        }

        public Criteria andGLongitudeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("g_longitude <=", value, "gLongitude");
            return (Criteria) this;
        }

        public Criteria andGLongitudeIn(List<BigDecimal> values) {
            addCriterion("g_longitude in", values, "gLongitude");
            return (Criteria) this;
        }

        public Criteria andGLongitudeNotIn(List<BigDecimal> values) {
            addCriterion("g_longitude not in", values, "gLongitude");
            return (Criteria) this;
        }

        public Criteria andGLongitudeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("g_longitude between", value1, value2, "gLongitude");
            return (Criteria) this;
        }

        public Criteria andGLongitudeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("g_longitude not between", value1, value2, "gLongitude");
            return (Criteria) this;
        }

        public Criteria andGLatitudeIsNull() {
            addCriterion("g_latitude is null");
            return (Criteria) this;
        }

        public Criteria andGLatitudeIsNotNull() {
            addCriterion("g_latitude is not null");
            return (Criteria) this;
        }

        public Criteria andGLatitudeEqualTo(BigDecimal value) {
            addCriterion("g_latitude =", value, "gLatitude");
            return (Criteria) this;
        }

        public Criteria andGLatitudeNotEqualTo(BigDecimal value) {
            addCriterion("g_latitude <>", value, "gLatitude");
            return (Criteria) this;
        }

        public Criteria andGLatitudeGreaterThan(BigDecimal value) {
            addCriterion("g_latitude >", value, "gLatitude");
            return (Criteria) this;
        }

        public Criteria andGLatitudeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("g_latitude >=", value, "gLatitude");
            return (Criteria) this;
        }

        public Criteria andGLatitudeLessThan(BigDecimal value) {
            addCriterion("g_latitude <", value, "gLatitude");
            return (Criteria) this;
        }

        public Criteria andGLatitudeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("g_latitude <=", value, "gLatitude");
            return (Criteria) this;
        }

        public Criteria andGLatitudeIn(List<BigDecimal> values) {
            addCriterion("g_latitude in", values, "gLatitude");
            return (Criteria) this;
        }

        public Criteria andGLatitudeNotIn(List<BigDecimal> values) {
            addCriterion("g_latitude not in", values, "gLatitude");
            return (Criteria) this;
        }

        public Criteria andGLatitudeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("g_latitude between", value1, value2, "gLatitude");
            return (Criteria) this;
        }

        public Criteria andGLatitudeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("g_latitude not between", value1, value2, "gLatitude");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNull() {
            addCriterion("modify_time is null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNotNull() {
            addCriterion("modify_time is not null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeEqualTo(Date value) {
            addCriterion("modify_time =", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotEqualTo(Date value) {
            addCriterion("modify_time <>", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThan(Date value) {
            addCriterion("modify_time >", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("modify_time >=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThan(Date value) {
            addCriterion("modify_time <", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThanOrEqualTo(Date value) {
            addCriterion("modify_time <=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIn(List<Date> values) {
            addCriterion("modify_time in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotIn(List<Date> values) {
            addCriterion("modify_time not in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeBetween(Date value1, Date value2) {
            addCriterion("modify_time between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotBetween(Date value1, Date value2) {
            addCriterion("modify_time not between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}